package com.lxhll.personnel.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * (PositionTransfer)表实体类
 *
 * @author makejava
 * @since 2021-07-22 14:52:36
 */
@TableName("position_transfer")
@Data
public class PositionTransfer implements Serializable {

    @TableId
    private Integer id;
    //原岗位id
    private Integer originalPositionId;
    //调动后的岗位id
    private Integer newPositionId;
    //调动原因
    private String reason;
    //调动日期
    private LocalDate transferDate;
    //调动类型
    private String type;
    //调动的员工id
    private Integer employeeId;
    //员工姓名
    @TableField(exist = false)
    private String employeeName;

    
}
